package com.cloud.drore.eboss.supplier.mapper;

import com.cloud.drore.eboos.common.base.MyMapper;
import com.cloud.drore.eboss.supplier.entity.ProductValidateMethod;
import com.cloud.drore.eboss.supplier.mapper.provider.ProductValidateMethodProvider;
import org.apache.ibatis.annotations.SelectProvider;
import org.apache.ibatis.annotations.UpdateProvider;

import java.util.List;

/**
 * 浙江卓锐科技股份有限公司 版权所有  Copyright 2018<br>
 *
 * @Description: <br>
 * @Project: eboos <br>
 * @CreateDate: Created in 2018/2/5 10:24 <br>
 * @Author: <a href="575842778@qq.com">郑永涛</a>
 */
public interface ProductValidateMethodMapper extends MyMapper<ProductValidateMethod> {

    @UpdateProvider(type = ProductValidateMethodProvider.class, method = "updateByParam")
    int updateByParam(ProductValidateMethod productValidateMethod);

    @SelectProvider(type = ProductValidateMethodProvider.class, method = "selectValidateMethodByParam")
    List<ProductValidateMethod> selectValidateMethodByParam(ProductValidateMethod validateMethod);

}